﻿// --------------------------------------------------------------------------------------------------------------------
// <copyright file="AdminController.cs" company="Spenta Consulting">
//   (c) Copyright 2011
// </copyright>
// <summary>
//   Defines the AdminController type.
// </summary>
// --------------------------------------------------------------------------------------------------------------------

namespace Spenta.StreetCare.MVC.Controllers
{
    using System.Web.Mvc;
    using Helpers;

    /// <summary>
    /// Defines the AdminController type.
    /// </summary>
    public class AdminController : BaseController
    {
        /// <summary>
        /// Gets the splash page for administrators.
        /// GET: /Admin/Index/
        /// </summary>
        /// <returns>Index view</returns>
        [StreetCareAuthorize(Roles = "admin, superadmin")]
        public ActionResult Index()
        {
            return View();
        }
    }
}
